-- GENERATED SPELL FOR [Aquementas] --


function spell0_9453(pUnit, Event) --@Aqua Jet,Self--
pUnit:FullCastSpellOnTarget(13586,pUnit)
pUnit:RegisterEvent('Sorts_9453', 572, 1)
end

function spell1_9453(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(15089,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9453', 8259, 1)
end

function Sorts_9453(pUnit, Event)
local choix_sorts_9453 = math.random(0, 1)
if choix_sorts_9453 == 0 then
pUnit:RegisterEvent('spell0_9453', 1, 1)
end
if choix_sorts_9453 == 1 then
pUnit:RegisterEvent('spell1_9453', 1, 1)
end
end

function mob9453_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9453', math.random(1500, 3000), 1)
end

function mob9453_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9453_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9453_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9453, 1, 'mob9453_Action')
RegisterUnitEvent(9453, 2, 'mob9453_Leave')
RegisterUnitEvent(9453, 3, 'mob9453_Kill')
RegisterUnitEvent(9453, 4, 'mob9453_Die')
